#ifndef KEYBOARDCOMPWIDGET_H
#define KEYBOARDCOMPWIDGET_H

#include <QWidget>
#include <QtGui>
#include "aed_keyboardcomp.h"
#include "keyboardcondmodel.h"


class KeyboardCompWidget : public QWidget
{
    Q_OBJECT
    AED_KeyboardComp *m_comp;
    KeyboardCondModel *m_model;
    QTableView *m_condtable;

    QGroupBox* group;
    QPushButton *add_cond_button;
    QPushButton *remove_cond_button;


public:
    explicit KeyboardCompWidget(AED_KeyboardComp *comp, QWidget *parent = 0);
    void setComp(AED_KeyboardComp *comp);
signals:

public slots:
    void ResizeColumns();
    void SetEnabled(bool enabled);
    void RemoveCondition();
};

#endif // KEYBOARDCOMPWIDGET_H
